#ifndef TIMER_H_
#define TIMER_H_

typedef struct TimeStamp
{
	unsigned int Year;
	unsigned char Month;
	unsigned char Day;
	unsigned char Hour;
	unsigned char Minute;
	unsigned char Second;
	unsigned int Milisecond;
	unsigned long Time;
} ts_t;

ts_t* getTime();
ts_t* getElapsedTime(ts_t* startTime, ts_t* endDate);
void setClock(unsigned char hour, unsigned char minute, unsigned char second, unsigned char tenths);
#endif